<?php
	class c_textbox extends x_focusable{
		function renderXHTML(){
			$id=$this->get_prop('id');
			$txt=$this->get_prop('text');
			return xtag('input',$id,array('name'=>$id, 'type'=>'text', 'value'=>$txt),true);
		}
	}
	
	x_factory::reg_comp('textbox','c_textbox');
?>